home *** CD-ROM | disk | FTP | other *** search
- Path: dtek.chalmers.se!d95josef
- From: d95josef@dtek.chalmers.se (Josef Sveningsson)
- Newsgroups: comp.sys.cbm
- Subject: Re: Scanning strings under BASIC, avoiding INPUT "?"
- Date: 28 Mar 1996 11:58:03 GMT
- Organization: Chalmers univ. of Technology
- Message-ID: <4jdusb$av6@nyheter.chalmers.se>
- References: <4jc9kt$h3p@news.rrz.uni-koeln.de>
- NNTP-Posting-Host: smite.dtek.chalmers.se
- X-Newsreader: TIN [version 1.2 PL2]
-
- Joerg Bleimann (a2233495@rrz.Uni-Koeln.DE) wrote:
- : duce a SYNTAX ERROR. Are there any ways to get rid of the question mark using
- : BASIC on the C 64?
-
- As I remember (it's been a long time since I did this) there are two ways to
- do this. One is to copy the BASIC rom into ram and change the value of the
- adress which contains the questionmark. But I wouldn't recomend this if
- you are programming in BASIC.
- The way to do it is to open a channel to the keyboard using OPEN. The problem
- is that I don't remember the exact way to do it, even though it wasn't hard.
- Well, basically you just open a cannel to the keyboard, read from the channel
- until you get a 'return' and then close the channel. I think the '64-users-
- manual' (or whatever it's called) will tell you more about how to open and
- read from the channel in the right way.
-
- /Josef
-
-